projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1c489
)
Fix dependency generation for older gcc versions
author
Vlad Lungu
<
[email protected]
>
Fri, 11 Apr 2008 18:20:14 +0000
(21:20 +0300)
committer
Wolfgang Denk
<
[email protected]
>
Fri, 18 Apr 2008 07:06:41 +0000
(
00:06
-0700)
With gcc 3.3.3 at least, compilation fails with
Generating include/autoconf.mk
gcc: compilation of header file requested
make: *** [include/autoconf.mk] Error 1
since commit
16fe77752eee099b9fb61ed73460e51cc94b37ba
.
Signed-off-by: Vlad Lungu <
[email protected]
>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index e56889e22834e9442a41d3800f0ae556388239af..ff33b4cec0bede908700a3b6b51d1e0e57ef09ca 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-432,7
+432,7
@@
$(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE)
@$(XECHO) Generating include/autoconf.mk ; \
set -e ; \
: Generate the dependancies ; \
- $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h >
[email protected]
; \
+ $(CC) -
x c -
M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h >
[email protected]
; \
: Extract the config macros ; \
$(CPP) $(CFLAGS) -dM include/common.h | sed -n -f tools/scripts/define2mk.sed > $@